package teshop.service;

import java.util.List;

import teshop.domain.Category;
import teshop.domain.Product;

public interface CatalogService {
	
	void saveCategory(Category pCategory);
	
	void saveProduct(Product pProduct);
	
	List<Product> getProductsOfCategory(Long pCategoryId, int pPage, int pNumberOnPage);
	
	List<Category> getSubCategories(Long categoryId);
	
	Category getCategory(Long pCategoryId);
	
	List<Category> getAllCategories();

}
